/**  

* @Title: FileDel.java 

* @Package com.gko100.util 

* @Description: TODO(用一句话描述该文件做什么) 

* @author CST

* @version V1.0  

*/ 

package com.gko100.util;

import java.io.File;

public class FileDel {

	public boolean del_file(String path){
		
		boolean flag = false;
		path.replaceAll("\\\\", "/");
		File file = new File(path);
		if(file.exists() && file.isFile()) {
            
			if (file.delete()) {
				flag = true;
            } else {
                flag = false;
            }
        }
		
		return flag;
		
	}
	
	
	
}
